package io.renren.modules.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.contract.dao.TenderingBatchDao;
import io.renren.modules.contract.entity.TenderingBatchEntity;
import io.renren.modules.contract.service.TenderingBatchService;



@Service("tenderingBatchService")
public class TenderingBatchServiceImpl implements TenderingBatchService {
	@Autowired
	private TenderingBatchDao tenderingBatchDao;
	
	@Override
	public TenderingBatchEntity queryObject(Long id){
		return tenderingBatchDao.queryObject(id);
	}
	
	@Override
	public List<TenderingBatchEntity> queryList(Map<String, Object> map){
		return tenderingBatchDao.queryList(map);
	}

	@Override
	public List<TenderingBatchEntity> queryInfo() {
		return tenderingBatchDao.queryInfo();
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return tenderingBatchDao.queryTotal(map);
	}
	
	@Override
	public void save(TenderingBatchEntity tenderingBatch){
		tenderingBatchDao.save(tenderingBatch);
	}
	
	@Override
	public void update(TenderingBatchEntity tenderingBatch){
		tenderingBatchDao.update(tenderingBatch);
	}
	
	@Override
	public void delete(Long id){
		tenderingBatchDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		tenderingBatchDao.deleteBatch(ids);
	}
	
}
